package com.hhx.androidrxmvp.dagger.component;

import android.content.Context;

import com.hhx.androidrxmvp.app.BaseApplication;
import com.hhx.androidrxmvp.dagger.module.ApplicationModule;

import javax.inject.Singleton;

import dagger.Component;

/**
 * Created by Administrator on 2019/3/18.
 */
@Singleton
@Component(modules = {ApplicationModule.class})
public interface ApplicationComponent {

    Context getContext();//提供App的context

    void inject(BaseApplication baseApplication);

}
